package com.zhongjian.technologycal.mall.bean;

import java.util.List;

/**
 * Created by wei on 2018/1/23.
 */

public class OrderCommitBean {


    /**
     * adrressId : 0
     * orderHeads : [{"producername":"","producerno":"","producertel":"","freight":0,"memo":"string","orderLines":[{"productId":1,"productName":"string","productNum":1,"specId":59,"specName":"string"}],"realPay":70,"totalAmount":150,"useCoupon":40,"useElecNum":20,"usePointNum":20,"useVIPRemainNum":0}]
     */

    private int adrressId;
    private List<OrderHeadsBean> orderHeads;

    public int getAdrressId() {
        return adrressId;
    }

    public void setAdrressId(int adrressId) {
        this.adrressId = adrressId;
    }

    public List<OrderHeadsBean> getOrderHeads() {
        return orderHeads;
    }

    public void setOrderHeads(List<OrderHeadsBean> orderHeads) {
        this.orderHeads = orderHeads;
    }

    public static class OrderHeadsBean {
        /**
         * producername :
         * producerno :
         * producertel :
         * freight : 0
         * memo : string
         * orderLines : [{"productId":1,"productName":"string","productNum":1,"specId":59,"specName":"string"}]
         * realPay : 70
         * totalAmount : 150
         * useCoupon : 40
         * useElecNum : 20
         * usePointNum : 20
         * useVIPRemainNum : 0
         */

        private String producername;
        private String producerno;
        private String producertel;
        private int freight;
        private String memo;
        private int realPay;
        private int totalAmount;
        private int useCoupon;
        private int useElecNum;
        private int usePointNum;
        private int useVIPRemainNum;
        private List<OrderLinesBean> orderLines;

        public String getProducername() {
            return producername;
        }

        public void setProducername(String producername) {
            this.producername = producername;
        }

        public String getProducerno() {
            return producerno;
        }

        public void setProducerno(String producerno) {
            this.producerno = producerno;
        }

        public String getProducertel() {
            return producertel;
        }

        public void setProducertel(String producertel) {
            this.producertel = producertel;
        }

        public int getFreight() {
            return freight;
        }

        public void setFreight(int freight) {
            this.freight = freight;
        }

        public String getMemo() {
            return memo;
        }

        public void setMemo(String memo) {
            this.memo = memo;
        }

        public int getRealPay() {
            return realPay;
        }

        public void setRealPay(int realPay) {
            this.realPay = realPay;
        }

        public int getTotalAmount() {
            return totalAmount;
        }

        public void setTotalAmount(int totalAmount) {
            this.totalAmount = totalAmount;
        }

        public int getUseCoupon() {
            return useCoupon;
        }

        public void setUseCoupon(int useCoupon) {
            this.useCoupon = useCoupon;
        }

        public int getUseElecNum() {
            return useElecNum;
        }

        public void setUseElecNum(int useElecNum) {
            this.useElecNum = useElecNum;
        }

        public int getUsePointNum() {
            return usePointNum;
        }

        public void setUsePointNum(int usePointNum) {
            this.usePointNum = usePointNum;
        }

        public int getUseVIPRemainNum() {
            return useVIPRemainNum;
        }

        public void setUseVIPRemainNum(int useVIPRemainNum) {
            this.useVIPRemainNum = useVIPRemainNum;
        }

        public List<OrderLinesBean> getOrderLines() {
            return orderLines;
        }

        public void setOrderLines(List<OrderLinesBean> orderLines) {
            this.orderLines = orderLines;
        }

        public static class OrderLinesBean {
            /**
             * productId : 1
             * productName : string
             * productNum : 1
             * specId : 59
             * specName : string
             */

            private int productId;
            private String productName;
            private int productNum;
            private int specId;
            private String specName;

            public int getProductId() {
                return productId;
            }

            public void setProductId(int productId) {
                this.productId = productId;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public int getProductNum() {
                return productNum;
            }

            public void setProductNum(int productNum) {
                this.productNum = productNum;
            }

            public int getSpecId() {
                return specId;
            }

            public void setSpecId(int specId) {
                this.specId = specId;
            }

            public String getSpecName() {
                return specName;
            }

            public void setSpecName(String specName) {
                this.specName = specName;
            }
        }
    }
}
